# -*- encoding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 6
_modified_time = 1309516407.3164999
_template_filename='templates/main.html'
_template_uri='main.html'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
_exports = []


def render_body(context,**pageargs):
    context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        __M_writer = context.writer()
        # SOURCE LINE 1
        __M_writer(u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n<title>115\u7f51\u76d8 \u67e5\u8be2\u5668</title>\n<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>\n<!--[if (gte IE 6)&(lte IE 8)]>\n  <script type="text/javascript" src="/selectivizr-min.js"></script>\n<![endif]--> \n\n\n\n<script type="text/javascript">\n\n\t\t\n\nvar URIlabel = "\u8bf7\u8f93\u5165\u7f51\u5740\u6216\u63d0\u53d6\u7801";\n\n$(document).ready(function(){\n\t$("#115URI").blur(function(){\n\t\tif(this.value == \'\') this.value=URIlabel;\n\t\t});\n\t$("#115URI").focus(function(){\n\t\tif(this.value == URIlabel) this.value=\'\';\n\t\t});\n\t$("#115URIbotton").click(function(){\n\t\tvar pickcode = $("#115URI").attr("value");\n\t\tpickcode = pickcode.replace("http://u.115.com/file/","");\n\t\tpickcode = pickcode.replace("u.115.com/file/","");\n\t\t\n\t\t$.getJSON("/api/"+pickcode,function(data){\n\t\t\t\t\tif(data.state==false)\n\t\t\t\t\t{\n\t\t\t\t\t\talert(data.message);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t$("#filename").html(data.filename);\n\t\t\t\t\t$("#sha").html(data.sha);\n\t\t\t\t\t$("#downURL1").html(data.urls[0]);\n\t\t\t\t\t$("#downURL2").html(data.urls[1]);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t);\n\t\t});\n});\n</script>\n<link href="base.css" rel="stylesheet" type="text/css" />\n</head>\n<body>\n<div id="wapper">\n\t<div id="toplogo">115\u7f51\u76d8\u4fe1\u606f\u67e5\u8be2</div>\n    <div class="box">\n    \u8bf7\u5728\u4e0b\u65b9\u8f93\u5165115\u7f51\u76d8\u7684\u63d0\u53d6\u7801\u6216\u63d0\u53d6\u9875\u9762\u7f51\u5740\n    \t<div class="lin"></div>\n        <form>\n          \t<fieldset>\n            <input id="115URIbotton" class="submit" type="botton"  value="\u7ed9\u6211\u5206\u6790" />\n            <input id="115URI" class="url" value="" size="40" maxlength="200" name="url" />\n            </fieldset>\n        </form>\n        </div>\n        <div id="resultbox" class="box">\n        \t\u7f51\u76d8\u4fe1\u606f\n            <div class="lin"></div>\n            <table class="file-form" >\n                  <thead>\n                  <tr>\n                    <th scope="col" width="20%" >\u540d\u79f0&nbsp;</th>\n                    <th scope="col" width="80%">\u503c&nbsp;</th>\n                  </tr>\n                  </thead>\n                  <tbody>\n                  <tr>\n                    <td>\u6587\u4ef6\u540d&nbsp;</td>\n                    <td id="filename">&nbsp;</td>\n                  </tr>\n                  <tr>\n                    <td>sha1&nbsp;</td>\n                    <td id="sha">&nbsp;</td>\n                  </tr>\n                  <tr>\n                    <td>\u4e0b\u8f7d\u5730\u57401&nbsp;</td>\n                    <td id="downURL1">&nbsp;</td>\n                  </tr>\n                   <tr>\n                    <td>\u4e0b\u8f7d\u5730\u57402&nbsp;</td>\n                    <td id="downURL2">&nbsp;</td>\n                  </tr>\n                  </tbody>\n                </table>\n\t\t</div>\n        <div id="footer" class="box">\n\t\t\t<span style="color:red">coding:<a href="blog.ifancc.com">fancycode</a>.</span>Contact fancycode at gmail.com for more detail  <noscritp><a href="http://www.51.la/?5012927" target="_blank"><img alt="&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;" src="http://img.users.51.la/5012927.asp" style="border:none" /></a></noscript>\n\t\t</div> \n\n        \n</div>\n\n</body>\n</html>\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


